class GiftModel {
  int fd;
  String token;
  String name;
  String head;
  int id;
  int number;

  GiftModel({this.fd, this.token, this.name, this.head, this.id, this.number});

  GiftModel.fromJson(Map<String, dynamic> json) {
    fd = json['fd'];
    token = json['token'];
    name = json['name'];
    head = json['head'];
    id = json['id'];
    number = json['number'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['fd'] = this.fd;
    data['token'] = this.token;
    data['name'] = this.name;
    data['head'] = this.head;
    data['id'] = this.id;
    data['number'] = this.number;
    return data;
  }
}
